package com.e.takeaway.po;

import androidx.annotation.NonNull;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class Food implements Serializable {



    private Integer foodId;
    private String foodName;
    private BigDecimal foodPrice;
    private String foodImg;
    private List<FoodVo> foods;
    private Integer foodMer;  //外键
    private Integer number;
    private BigDecimal sum;

    public List<FoodVo> getFoods() {
        return foods;
    }

    public void setFoods(List<FoodVo> foods) {
        this.foods = foods;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getSum() {
        return sum;
    }

    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }



    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public BigDecimal getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(BigDecimal foodPrice) {
        this.foodPrice = foodPrice;
    }

    public String getFoodImg() {
        return foodImg;
    }

    public void setFoodImg(String foodImg) {
        this.foodImg = foodImg;
    }

    public Integer getFoodMer() {
        return foodMer;
    }

    public void setFoodMer(Integer foodMer) {
        this.foodMer = foodMer;
    }


    @NonNull
    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", foodName='" + foodName + '\'' +
                ", foodPrice=" + foodPrice +
                ", foodImg='" + foodImg + '\'' +
                ", foodMer=" + foodMer +
                ", number=" + number +
                ", sum=" + sum +
                '}';
    }
}

